package com.softmaker.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@Entity
public class Product {
    @Id
    private String id;
    private String name;
    private String photo;
    private int price;
    private int num;
}
